package com.heima.shengchanzhe;

import java.util.concurrent.ArrayBlockingQueue;

public class Dem {
    public static void main(String[] args) {
        ArrayBlockingQueue<String>bd=new ArrayBlockingQueue<>(1);
        Food F=new Food(bd);
        Cook C=new Cook(bd);
        F.start();
        C.start();
    }
}
